package edu.iwyf.pms.service.impl;

import edu.iwyf.pms.dao.SysPermissionDao;
import edu.iwyf.pms.entity.SysPresmission;
import edu.iwyf.pms.service.SysPermissionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Collections;
import java.util.List;

/**
 * @Author 王永飞
 * 2021/12/23 14:09
 */
@Service
public class SysPermissionServiceImpl implements SysPermissionService {
    @Resource
    private SysPermissionDao dao;


    @Override
    public List<SysPresmission> searchMenuByRoleId(Integer[] list) {
        return dao.selectByRoleId(list);
        }

}
